Skip to content

Conversation

@smortex
Copy link
Member

@smortex smortex commented Sep 28, 2025

When passing a --log option to pip install, verbose logging is appended to the specified file, and the default logging captured by puppet is quieter than without the option.

When an installation error occur, the quieter output does not contain the reason for the failure, and inspection of the log file is necessary to determine the reason of the error. This is impractical in CI systems where this file cannot be retrieved easily, and makes fixing regressions harder.

On production systems, this log is also mostly useless since projects dependencies versions are generally expected to be found in the requirement file used for installation in order for deployments to be reproducible.

@smortex smortex added the enhancement New feature or request label Sep 29, 2025
When passing a `--log` option to `pip install`, _verbose_ logging is
appended to the specified file, and the default logging captured by
puppet is _quitter_ than the default.

When an installation error occur, the quieter output does not contain
the reason for the failure, and inspection of the log file is necessary
to determine the reason of the error.  This is impractical in CI systems
where this file cannot be retrieved easily, and makes fixing regressions
harder.

On production systems, this log is also mostly useless since projects
dependencies versions are generally expected to be found in the
requirement file used for installation in order for deployments to be
reproducible.
@smortex smortex force-pushed the do-not-redirect-logs branch from 34227a8 to 5b3d64e Compare December 17, 2025 01:46
@smortex
Copy link
Member Author

smortex commented Dec 17, 2025

Rebased on top of master. If CI is happy I will merge. Thank you.

@smortex smortex merged commit f6198cf into master Dec 17, 2025
16 checks passed
@smortex smortex deleted the do-not-redirect-logs branch December 17, 2025 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants